/*
 * @Description:
 * @Author: Ag
 * @LastEditors: Ag
 * @LastEditTime: 2024-02-06 16:41:27
 * Copyright (c) 2023 by CIGLINK, All Rights Reserved.
 */
import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import type { App } from 'vue'

export default function directive(app: App<Element>) {
  app.directive('hasRole', hasRole)
  app.directive('hasPermi', hasPermi)
}
